package com.training.java.core.encapsulation;

public class Car {
			// state / fields / instance variables /
			private String make;
			private String model;
			private String color;
			//int year;
			//int maximumSpeed;
			//int currentSpeed;
			//boolean hasStarted;
			
			Car(String make, String model) {
				this.model = model;
				this.make = make;
			}
			
			public String getMake(){
				return make;
			}
			public void setMake(String make){
				this.make = make;
			}
			
			public String getModel(){
				return model;
			}
			public void setModel(String model){
				this.model = model;
			}
			
			public String getColor(){
				return color;
			}
			public void setColor(String color){
				this.color = color;
			}
}

